package cn.community.care.module.system.controller.admin.info.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.community.care.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.community.care.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 房间信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InfoPageReqVO extends PageParam {

    @Schema(description = "ID", example = "9670")
    private Long userId;

    @Schema(description = "房间状态", example = "1")
    private String status;

    @Schema(description = "楼号")
    private String buildingNumber;

    @Schema(description = "楼层号")
    private String floorNumber;

    @Schema(description = "房间号")
    private String roomNumber;

    @Schema(description = "房间类型", example = "1")
    private String type;

    @Schema(description = "入住开始时间")
    private String checkInTime;

    @Schema(description = "入住结束时间")
    private String checkOutTime;

    @Schema(description = "父级编号")
    private Long parentNumber;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}